package org.emet.flex.web.dto
{
	import mx.collections.ArrayCollection;
	
	import org.emet.flex.dto.BaseEntity;

	[Bindable]
	[RemoteClass(alias="org.emet.entity.biz.Ceremony")]
	public class Ceremony extends BaseEntity
	{
		public function Ceremony()
		{
		}
		private var _reg:Registration = new Registration();
		private var _type:String;
		private var _fee:Number = 0.00;
		public var paied:Boolean = false;
		private var _startDate:Date;
		private var _endDate:Date;
		private var _workers:ArrayCollection = new ArrayCollection();
		
		public function get reg():Registration {return _reg;}
		public function set reg(value:Registration):void {_reg = value;}
		public function get type():String {return _type;}
		public function set type(value:String):void {_type = value;}
		public function get fee():Number {return _fee;}
		public function set fee(value:Number):void {_fee = value;}
		public function get startDate():Date {return _startDate;}
		public function set startDate(value:Date):void {_startDate = value;}
		public function get endDate():Date {return _endDate;}
		public function set endDate(value:Date):void {_endDate = value;}
		public function get workers(): ArrayCollection {return _workers;}
		public function set workers(value:ArrayCollection):void {_workers = value;}
	}
}